<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>知乎登录注册页面HTML模板下载 - 登录 - 素材牛模板演示</title>
    <link rel="stylesheet" type="text/css" href="${ctx}/css/login/register-login.css">
</head>
<body>
<div id="box"></div>
<div class="cent-box">
    <div class="cent-box-header">
        <h1 class="main-title"></h1>
        <h2 class="sub-title">生活热爱分享 - XX云盘</h2>
    </div>

    <div class="cont-main clearfix">
        <div class="index-tab">
            <div class="index-slide-nav">
                <a href="javascript:;" class="active">登录</a>
                <a href="${ctx}/toRegister">注册</a>
                <div class="slide-bar"></div>
            </div>
        </div>
        <form class="layui-form" action="${ctx}/user/login" method="post">
            <div class="login form">
                <div class="group">
                    <div class="group-ipt email">
                        <input type="text" name="username" id="email" class="ipt" lay-verify="required"
                        <%--placeholder="用户名/手机号/邮箱地址" value="${user.username}">--%>
                               placeholder="用户名/手机号/邮箱地址" value="admin">
                    </div>
                    <div class="group-ipt password">
                        <input type="password" name="password" id="password" class="ipt" lay-verify="required"
                        <%--placeholder="登录密码" value="${user.password}">--%>
                               placeholder="登录密码" value="123456">
                    </div>
                    <div class="group-ipt verify">
                        <input type="text" name="verify" id="verify" class="ipt" placeholder="验证码">
                        <img src="${ctx}/validCode" class="imgcode">
                    </div>
                </div>
            </div>

            <div class="button">
                <button type="submit" class="login-btn register-btn" id="button">登&nbsp;&nbsp;&nbsp;录</button>
            </div>
        </form>

        <div class="remember clearfix">
            <label class="remember-me">
                <span class="icon">
                    <span class="zt"></span>
                </span>
                <input type="checkbox" name="remember-me" id="remember-me" class="remember-mecheck" value="1">记住我
            </label>
            <label class="forgot-password">
                <a href="javascript:;">忘记密码？</a>
            </label>
        </div>
        <div class="error-msg">${message}</div>
    </div>
</div>

<%--<div class="footer">
    <p>素材牛 - 素材牛</p>
    <p>Designed By ZengRong & <a href="http://www.sucainiu.com">zrong.me</a> 2016</p>
</div>--%>

<script src='${ctx}/js/login/particles.js' type="text/javascript"></script>
<script src='${ctx}/js/login/background.js' type="text/javascript"></script>
<script src='${ctx}/res/lib/jquery-3.4.0.min.js' type="text/javascript"></script>
<script src='${ctx}/res/layui/layui.js' type="text/javascript"></script>
<script src='${ctx}/js/ajax-collections.js' type="text/javascript"></script>
<script src='${ctx}/js/login/login.js' type="text/javascript"></script>

</body>
</html>